//
//  WDVehicleLastInfoRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2025/3/3.
//

#import "WDVehicleLastInfoRequest.h"

@interface WDVehicleLastInfoRequest ()
@property (nonatomic, strong) NSNumber *vehicleId;
@end

@implementation WDVehicleLastInfoRequest

/// 初始化
/// - Parameter vehicleId: 车辆id
- (instancetype)initWithVehicleId:(NSNumber *)vehicleId {
    if (self = [super init]) {
        self.vehicleId = vehicleId;
    }
    return self;
}

- (NSString *)requestUrl {
    return kTASK_APPLY_VEHICLE_LAST_DATA;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodGET;
}

- (id)requestArgument {
    NSDictionary *params = @{@"id":self.vehicleId};
    return params;
}

- (Class)rspClass {
    return [WDVehicleLastInfoModel class];
}


@end
